package com.xtxk.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true) // 支持链式编程
@TableName("order_tab")
public class OrderEntity extends ComEntity {


    /**
     * 订单id
     */
    @TableId
    private int orderId;

    /**
     * 商品ID
     */
    private int goodsId;

    /**
     * 订单金额
     */
    private double orderPrice;
}
